//
//  SinglePictureViewCell.h
//  Logistics
//
//  Created by 刘峰 on 2017/12/11.
//  Copyright © 2017年 com.Logistics. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GRPointSideButton.h"
#import "PHAsset+AssetImage.h"

@protocol SinglePictureViewCellDelegate <NSObject>

@optional
- (void)selectedPictureAsset:(PHAsset *)asset Sender:(UIButton *)sender;

- (void)moveOutPictureAction:(UIPanGestureRecognizer *)sender;

@end

@interface SinglePictureViewCell : UICollectionViewCell

@property (weak, nonatomic) IBOutlet UIImageView *singleImage;

@property (weak, nonatomic) IBOutlet GRPointSideButton *selectBtn;

@property (nonatomic, weak) id <SinglePictureViewCellDelegate> delegate;

- (void)photoAsset:(PHAsset *)asset Original:(BOOL)isOriginal imageOption:(NSMutableDictionary *)option;

@end
